
class Complex
{ //ceea ce se afla intre 2 acolade se numeste namespace(spatiu de nume)
private:
    double real; //atribute
    double imag;
public:
    Complex(); //constructor implicit
    Complex (double real, double imag); //constructor explicit
    Complex (const Complex *c);
   // Complex (Complex &c); //constructor de copiere
    ~Complex(); //destructor
    
    double getReal();           //accesor
    double getImag();
    void setReal(double);       //modificator
    void setImag(double);
    //adasd
    Complex operator+(Complex c);
    Complex operator+(double d);
    Complex operator-(Complex c);
    Complex operator-(double d);
    Complex operator*(Complex c);
    Complex operator*(double d);
    Complex operator/(Complex c);
    Complex operator/(double d);
    Complex operator^(Complex c);
    Complex operator^(double d);
    Complex sqrt();
    Complex rt(int);
    bool operator<(Complex c);
    bool operator<(double d);
    bool operator<=(Complex c);
    bool operator<=(double d);
    bool operator>(Complex c);
    bool operator>(double d);
    bool operator>=(Complex c);
    bool operator>=(double d);
    Complex operator++();
    Complex operator--();
};
